home *** CD-ROM | disk | FTP | other *** search
- from JascApp import *
-
- def ScriptProperties():
- return {
- 'Author': 'Kris Zaklika',
- 'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
- 'Description': 'An electrically charged ball',
- 'Host': 'Paint Shop Pro',
- 'Host Version': '8.00'
- }
-
- def Preset_BallsAndBubbles():
- return {
- 'Illumination': {
- 'MaxAmbience': 100,
- 'MinAmbience': 0,
- 'LightList': [{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (160,0,91),
- 'Direction': (0.627073,0.778961,0),
- 'HighlightSize': 21
- },{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (24,26,128),
- 'Direction': (-0.597636,-0.801767,0),
- 'HighlightSize': 21
- },{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (15,15,15),
- 'Direction': (-0.10265,-0.10265,-0.989407),
- 'HighlightSize': 0
- },{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (94,6,89),
- 'Direction': (-0.398396,0.583585,0.707608),
- 'HighlightSize': 14
- },{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (100,0,82),
- 'Direction': (0.38497,-0.58687,0.712307),
- 'HighlightSize': 17
- }]
- },
- 'Mode': App.Constants.CountType.Single,
- 'Multiple': {
-
- },
- 'Single': {
- 'MaxPossibleSize': App.Constants.Boolean.true
- },
- 'Surface': {
- 'Material': {
- 'Color': (128,128,128),
- 'Pattern': None,
- 'Gradient': None,
- 'Texture': None
- },
- 'BumpMap': {
- 'Active': App.Constants.Boolean.true,
- 'Depth': 12,
- 'FileName': 'Electric',
- 'Fit': App.Constants.Boolean.true,
- 'Size': 25,
- 'Smoothness': 0
- },
- 'EnvironmentMap': {
- 'Active': App.Constants.Boolean.true,
- 'FileName': 'Electric',
- 'PatternOpacity': 100,
- 'EnvironmentType': App.Constants.BubbleMapType.Environment
- },
- 'Gloss': 0,
- 'Opacity': 100,
- 'Shininess': 50
- }
- }
-
- def Do(Environment):
- App.Do( Environment, 'BallsAndBubbles', Preset_BallsAndBubbles())
-
-